<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试vue3的api</title>
</head>
<body>
    <script src="./api.js">console.log('hello')
        let testObj1 = {
            name: '小明1',
            age: 14,
            cars: {
                name: '奔驰1'
            }
        };
        let testObj11 = shallowReactive(testObj1);
        testObj11.name += '===';
        testObj11.cars;
        testObj11.cars.name += '0000';
        console.log(testObj11)
    </script>
</body>
</html>